package clids.ex2.actions;

import java.io.File;

public class ActionExec extends AbstractAction{

	public void doAction (String filePath){
		File f = new File(filePath);
		if (actionParam.equals("YES")) {
			f.setExecutable(true) ;
		}
		else if (actionParam.equals("NO")){
			f.setExecutable(false);
		}
	}
}
